#这是雪球菜单部分的函数包

#                             _ooOoo_
#                            o8888888o
#                            88" . "88
#                            (| -_- |)
#                            O\  =  /O
#                         ____/`---'\____
#                       .'  \\|     |//  `.
#                      /  \\|||  :  |||//  \
#                     /  _||||| -:- |||||-  \
#                     |   | \\\  -  /// |   |
#                     | \_|  ''\---/''  |   |
#                     \  .-\__  `-`  ___/-. /
#                   ___`. .'  /--.--\  `. . __
#                ."" '<  `.___\_<|>_/___.'  >'"".
#               | | :  `- \`.;`\ _ /`;.`/ - ` : | |
#               \  \ `-.   \_ __\ /__ _/   .-` /  /
#          ======`-.____`-.___\_____/___.-`____.-'======
#                             `=---='
#          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#                     佛祖保佑        永无BUG

#雪球菜单部分

    #1xxx_主页

        #0_显示部分
            #1_超出重置
            execute as @a[scores={雪球菜单=1006..1999}] run scoreboard players set @s 雪球菜单 1001
            #2_显示
            execute as @a[scores={雪球菜单=1000..1999}] run titleraw @s actionbar {"rawtext": [{"text": "§6投掷雪球下一项          Q键丢弃、抬头为确认"},{"text": "\n§7┌一一一一一一一一一一一一一一一一一一一一┐"},{"translate": "\n%%2 【传送▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=1001}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【实用工具▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=1002}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【控制面板▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=1003}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【传送主城】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=1004}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【查看更新日志▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=1005}]"},{"text": "§e -"},{"text": "§r  "}]}},{"text": "\n\n\n§7└一一一一一一一一一一一一一一一一一一一一┘\n\n\n\n\n\n"}]}
        
        #1_传送
            #1_设临时1为0
            execute as @a[scores={雪球菜单=1001,雪球菜单_确认=0},tag=!未受信任] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转6001（已信任玩家
            execute as @a[scores={雪球菜单=1001,雪球菜单_确认=0},tag=!未受信任] run scoreboard players set @s 雪球菜单 6001
            #3_重置确认
            execute as @a[scores={雪球菜单=6001,雪球菜单_确认=0,雪球菜单_临时1=0},tag=!未受信任] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=6001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
            
            #5_设临时1为0（未受信任玩家
            execute as @a[scores={雪球菜单=1001,雪球菜单_确认=0},tag=未受信任] run scoreboard players set @s 雪球菜单_临时1 0
            #6_跳转10001（未受信任玩家
            execute as @a[scores={雪球菜单=1001,雪球菜单_确认=0},tag=未受信任] run scoreboard players set @s 雪球菜单 10001
            #7_重置确认
            execute as @a[scores={雪球菜单=10001,雪球菜单_确认=0,雪球菜单_临时1=0},tag=未受信任] run scoreboard players reset @s 雪球菜单_确认
            #8_重置临时1
            execute as @a[scores={雪球菜单=10001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
        
        #2_实用工具
            #1_设临时1为0
            execute as @a[scores={雪球菜单=1002,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转2001
            execute as @a[scores={雪球菜单=1002,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 2001
            #3_重置确认
            execute as @a[scores={雪球菜单=2001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=2001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
        
        #3_控制面板
            #1_设临时1为0
            execute as @a[scores={雪球菜单=1003,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转12001
            execute as @a[scores={雪球菜单=1003,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 12001
            #3_重置确认
            execute as @a[scores={雪球菜单=12001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=12001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1

        #4_传送主城
            #1_跳转7002（已信任玩家）
            execute as @a[scores={雪球菜单=1004,雪球菜单_确认=0},tag=!未受信任] run scoreboard players set @s 雪球菜单 7002
            #2_未过审玩家权限提醒
            execute as @a[scores={雪球菜单=1004,雪球菜单_确认=0}] run tellraw @s {"rawtext":[{"text":"§c| 你没有权限那样做！"}]}
            #3_未过审玩家重置确认
            execute as @a[scores={雪球菜单=1004,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
        
        #5_查看更新日志
            #1_设置临时1为最新章节
            execute as @a[scores={雪球菜单=1005,雪球菜单_确认=0}] run scoreboard players operation @s 雪球菜单_临时1 = 基准数 雪球菜单_更新日志
            #2_设临时2为0
            execute as @a[scores={雪球菜单=1005,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时2 0
            #3_跳转18001
            execute as @a[scores={雪球菜单=1005,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 18001
            #4_重置确认
            execute as @a[scores={雪球菜单=18001,雪球菜单_确认=0,雪球菜单_临时2=0}] run scoreboard players reset @s 雪球菜单_确认
            #5_重置临时2
            execute as @a[scores={雪球菜单=18001,雪球菜单_临时2=0}] run scoreboard players reset @s 雪球菜单_临时2

    
    #2xxx_实用工具
        #0_显示部分
            #1_超出重置
            execute as @a[scores={雪球菜单=2004..2999}] run scoreboard players set @s 雪球菜单 2001
            #2_显示
            execute as @a[scores={雪球菜单=2000..2999}] run titleraw @s actionbar {"rawtext": [{"text": "§6实用工具▶"},{"text": "\n§7┌一一一一一一一一一一一一一一一一一一一一┐"},{"translate": "\n%%2 【◀返回主页】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=2001}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【清空背包▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=2002}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【药水效果▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=2003..}]"},{"text": "§e -"},{"text": "§r  "}]}},{"text": "\n\n\n\n\n§7└一一一一一一一一一一一一一一一一一一一一┘"},{"translate": "%%2","with": {"rawtext": [{"selector": "@s[scores={雪球菜单-开发者模式=1}]"},{"rawtext": [{"text": "\n§7雪球菜单:"},{"score": {"objective": "雪球菜单","name": "@s"}},{"text": "\n§7开发者模式\n\n\n\n"}]},{"text": "\n\n\n\n\n\n"}]}}]}
        #1_返回主页
            #1_设临时1为0
            execute as @a[scores={雪球菜单=2001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转1001
            execute as @a[scores={雪球菜单=2001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 1001
            #3_重置确认
            execute as @a[scores={雪球菜单=1001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=1001,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_临时1
        #2_清空背包
            #1_设临时1为0
            execute as @a[scores={雪球菜单=2002,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转4001
            execute as @a[scores={雪球菜单=2002,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 4001
            #3_重置确认
            execute as @a[scores={雪球菜单=4001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=4001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
        #3_药水效果
            #1_设临时1为0
            execute as @a[scores={雪球菜单=2003,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转3001
            execute as @a[scores={雪球菜单=2003,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 3001
            #3_重置确认
            execute as @a[scores={雪球菜单=3001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=3001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
    #3xxx_药水效果
        #0_显示部分
            #1_超出重置
            execute as @a[scores={雪球菜单=3008..3999}] run scoreboard players set @s 雪球菜单 3001
            #2_显示
            execute as @a[scores={雪球菜单=3000..3999}] run titleraw @s actionbar {"rawtext": [{"text": "§6实用工具▶药水效果▶"},{"text": "\n§7┌一一一一一一一一一一一一一一一一一一一一┐"},{"translate": "\n%%2 【◀返回】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=3001}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【效果设置▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=3002}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【清除所有药水效果】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=3003}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【获得\"夜视\" *0 1000000秒】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=3004}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【获得\"潮涌能量\" *0 1000000秒】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=3005}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【获得\"力量\" *20 1000000秒】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=3006}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【获得\"速度\" *20 1000000秒】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=3007}]"},{"text": "§e -"},{"text": "§r  "}]}},{"text": "\n§7└一一一一一一一一一一一一一一一一一一一一┘"},{"translate": "%%2","with": {"rawtext": [{"selector": "@s[scores={雪球菜单-开发者模式=1}]"},{"rawtext": [{"text": "\n§7雪球菜单:"},{"score": {"objective": "雪球菜单","name": "@s"}},{"text": "\n§7开发者模式\n\n\n\n"}]},{"text": "\n\n\n\n\n\n"}]}}]}
        #1_返回
            #1_设临时1为0
            execute as @a[scores={雪球菜单=3001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转2001
            execute as @a[scores={雪球菜单=3001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 2001
            #3_重置确认
            execute as @a[scores={雪球菜单=2001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=2001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
        #2_效果设置
            #1_重置临时2
            execute as @a[scores={雪球菜单=3002,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_临时2
            #2_设临时1为0
            execute as @a[scores={雪球菜单=3002,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #3_跳转5001
            execute as @a[scores={雪球菜单=3002,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 5001
            #4_重置确认
            execute as @a[scores={雪球菜单=5001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #5_重置临时1
            execute as @a[scores={雪球菜单=5001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
        #3_清除所有药水效果
            #1_执行effect @s clear指令
            execute as @a[scores={雪球菜单=3003,雪球菜单_确认=0}] run effect @s clear
            #2_聊天栏显示提示
            execute as @a[scores={雪球菜单=3003,雪球菜单_确认=0}] run tellraw @s {"rawtext": [{"text": "| 已清除你身上的所有效果"}]}
            #3_重置确认
            execute as @a[scores={雪球菜单=3003,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=3003,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
        #4_获得"夜视" *0 1000000秒
            #1_夜视true
            execute as @a[scores={雪球菜单=3004,雪球菜单_确认=0,雪球菜单_药水效果_药水粒子=0}]  run effect @s night_vision 1000000 0 true
            #2_夜视false
            execute as @a[scores={雪球菜单=3004,雪球菜单_确认=0}] unless entity @s[scores={"雪球菜单_药水效果_药水粒子"=0}] run effect @s night_vision 1000000 0
            #3_聊天栏显示提示
            execute as @a[scores={雪球菜单=3004,雪球菜单_确认=0}] run tellraw @s {"rawtext": [{"text": "| 已获得\"夜视\" *0 1000000秒"}]}
            #4_重置确认
            execute as @a[scores={雪球菜单=3004,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
        #5_获得"潮涌能量" *0 1000000秒
            #1_潮涌能量true
            execute as @a[scores={雪球菜单=3005,雪球菜单_确认=0,雪球菜单_药水效果_药水粒子=0}] run effect @s conduit_power 1000000 0 true
            #2_潮涌能量false
            execute as @a[scores={雪球菜单=3005,雪球菜单_确认=0}] unless entity @s[scores={"雪球菜单_药水效果_药水粒子"=0}] run effect @s conduit_power 1000000 0
            #3_聊天栏显示提示
            execute as @a[scores={雪球菜单=3005,雪球菜单_确认=0}] run tellraw @s {"rawtext": [{"text": "| 已获得\"潮涌能量\" *0 1000000秒"}]}
            #4_重置确认
            execute as @a[scores={雪球菜单=3005,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
        #6_获得"力量" *20 1000000秒
            #1_力量true
            execute as @a[scores={雪球菜单=3006,雪球菜单_确认=0,雪球菜单_药水效果_药水粒子=0}] run effect @s strength 1000000 0 true
            #2_力量false
            execute as @a[scores={雪球菜单=3006,雪球菜单_确认=0}] unless entity @s[scores={"雪球菜单_药水效果_药水粒子"=0}] run effect @s strength 1000000 0
            #3_聊天栏显示提示
            execute as @a[scores={雪球菜单=3006,雪球菜单_确认=0}] run tellraw @s {"rawtext": [{"text": "| 已获得\"力量\" *20 1000000秒"}]}
            #4_重置确认
            execute as @a[scores={雪球菜单=3006,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
        #7_获得"速度" *20 1000000秒
            #1_速度true
            execute as @a[scores={雪球菜单=3007,雪球菜单_确认=0,雪球菜单_药水效果_药水粒子=0}] run effect @s speed 1000000 20 true
            #2_速度false
            execute as @a[scores={雪球菜单=3007,雪球菜单_确认=0}] unless entity @s[scores={"雪球菜单_药水效果_药水粒子"=0}] run effect @s speed 1000000 20
            #3_聊天栏显示提示
            execute as @a[scores={雪球菜单=3007,雪球菜单_确认=0}] run tellraw @s {"rawtext": [{"text": "| 已获得\"速度\" *20 1000000秒"}]}
            #4_重置确认
            execute as @a[scores={雪球菜单=3007,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
            
    #4xxx_清空背包-确认页面
        #0_显示部分
            #1_超出重置
            execute as @a[scores={雪球菜单=4007..4999}] run scoreboard players set @s 雪球菜单 4001
            #2_显示
            execute as @a[scores={雪球菜单=4000..4999}] run titleraw @s actionbar {"rawtext": [{"text": "§6确定要清空你自己的背包吗？"},{"text": "\n§7┌一一一一一一一一一一一一一一一一一一一一┐"},{"text": "\n§d ⚠雪球也会被一并清除，但可从背包重新拿取"},{"translate": "\n%%2 【◀返回】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=4001}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【不清空】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=4002}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【不清空】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=4003}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【确认清空】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=4004}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【不清空】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=4005}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【不清空】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=4006..}]"},{"text": "§e -"},{"text": "§r  "}]}},{"text": "\n§7└一一一一一一一一一一一一一一一一一一一一┘"},{"translate": "%%2","with": {"rawtext": [{"selector": "@s[scores={雪球菜单-开发者模式=1}]"},{"rawtext": [{"text": "\n§7雪球菜单:"},{"score": {"objective": "雪球菜单","name": "@s"}},{"text": "\n§7开发者模式\n\n\n\n"}]},{"text": "\n\n\n\n\n\n"}]}}]}
        #1..3_返回&不清空
            #1_设临时1为0
            execute as @a[scores={雪球菜单=4001..4003,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转2001
            execute as @a[scores={雪球菜单=4001..4003,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 2001
            #3_重置确认
            execute as @a[scores={雪球菜单=2001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=2001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1 
        #4_确认清空
            #1_执行clear @s指令
            execute as @a[scores={雪球菜单=4004,雪球菜单_确认=0}] run clear @s
            #2_聊天栏显示提示
            execute as @a[scores={雪球菜单=4004,雪球菜单_确认=0}] run tellraw @s {"rawtext":[{"text":"| 已清除你背包内的全部物品"}]}
            #3_重置确认
            execute as @a[scores={雪球菜单=4004,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
        #5..6_不清空
            #1_设临时1为0
            execute as @a[scores={雪球菜单=4005..4006,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转2001
            execute as @a[scores={雪球菜单=4005..4006,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 2001
            #3_重置确认
            execute as @a[scores={雪球菜单=2001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=2001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1 

    #5xxx_药水效果-效果设置
        #0_显示部分
            #1_超出重置
            execute as @a[scores={雪球菜单=5003..5999}] run scoreboard players set @s 雪球菜单 5001
            #2_显示
            execute as @a[scores={雪球菜单=5000..5999}] run titleraw @s actionbar {"rawtext": [{"text": "§6实用工具▶药水效果▶效果设置▶"},{"text": "\n§7┌一一一一一一一一一一一一一一一一一一一一┐"},{"translate": "\n%%2 【◀返回】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=5001}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 ","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=5002..}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "%%2隐藏粒子效果】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单_药水效果_药水粒子=0}]"},{"text": "【☑"},{"text": "【☐"}]}},{"text": "\n\n\n\n\n\n§7└一一一一一一一一一一一一一一一一一一一一┘"},{"translate": "%%2","with": {"rawtext": [{"selector": "@s[scores={雪球菜单-开发者模式=1}]"},{"rawtext": [{"text": "\n§7雪球菜单:"},{"score": {"objective": "雪球菜单","name": "@s"}},{"text": "\n§7开发者模式\n\n\n\n"}]},{"text": "\n\n\n\n\n\n"}]}}]}
        #1_返回
            #1_设临时1为0
            execute as @a[scores={雪球菜单=5001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转3001
            execute as @a[scores={雪球菜单=5001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 3001
            #3_重置确认
            execute as @a[scores={雪球菜单=3001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=3001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
        #2_显示粒子效果
            #1_如果当前为开启隐藏粒子效果
            execute as @a[scores={雪球菜单=5002,雪球菜单_确认=0,雪球菜单_药水效果_药水粒子=0}] run scoreboard players set @s 雪球菜单_临时2 0
            execute as @a[scores={雪球菜单=5002,雪球菜单_确认=0,雪球菜单_药水效果_药水粒子=0,雪球菜单_临时2=0}] run scoreboard players reset @s 雪球菜单_药水效果_药水粒子
            execute as @a[scores={雪球菜单=5002,雪球菜单_确认=0,雪球菜单_临时2=0}] run scoreboard players reset @s 雪球菜单_确认
            #2_如果当前为关闭隐藏粒子效果
            execute as @a[scores={雪球菜单=5002,雪球菜单_确认=0}] unless score @s 雪球菜单_药水效果_药水粒子 matches 0 unless score @s 雪球菜单_临时2 matches 0 run scoreboard players set @s 雪球菜单_药水效果_药水粒子 0
            execute as @a[scores={雪球菜单=5002,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
            #3_接"如果当前为开启隐藏粒子效果"
            execute as @a[scores={雪球菜单=5002,雪球菜单_临时2=0}] run scoreboard players reset @s 雪球菜单_临时2
    #6xxx_传送
        #0_显示
            #1_显示
            execute as @a[scores={雪球菜单=6000..6999},tag=!未受信任] run titleraw @s actionbar {"rawtext": [{"text": "§6传送▶"},{"text": "\n§7┌一一一一一一一一一一一一一一一一一一一一┐"},{"translate": "\n%%2 【◀返回主页】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=6001}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【传送玩家▶】 (仅白名单及更高权限可用)","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=6002}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【传送至\"传送大厅\"】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=6003}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【主世界▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=6004}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【下界▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=6005}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【末地▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=6006}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【下一页▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=6007..}]"},{"text": "§e -"},{"text": "§r  "}]}},{"text": "\n§7└一一一一一一一一一一一一一一一一一一一一┘"},{"translate": "%%2","with": {"rawtext": [{"selector": "@s[scores={雪球菜单-开发者模式=1}]"},{"rawtext": [{"text": "\n§7雪球菜单:"},{"score": {"objective": "雪球菜单","name": "@s"}},{"text": "\n§7开发者模式\n\n\n\n"}]},{"text": "\n\n\n\n\n\n"}]}}]}
    
    #10xxx_传送（未过审玩家专版）
        #0_显示
            #1_超出重置
            execute as @a[scores={雪球菜单=10003..10999}] run scoreboard players set @s 雪球菜单 10001
            #2_显示
            execute as @a[scores={雪球菜单=10000..10999}] run titleraw @s actionbar {"rawtext": [{"text": "§6传送▶"},{"text": "\n§7┌一一一一一一一一一一一一一一一一一一一一┐"},{"translate": "\n%%2 【◀返回】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=10001}]"},{"text": "§e -"},{"text": "§r  "}]}},{"translate": "\n%%2 【传送至\"审核区\"】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=10002}]"},{"text": "§e -"},{"text": "§r  "}]}},{"text": "\n\n\n\n\n\n§7└一一一一一一一一一一一一一一一一一一一一┘\n\n\n\n\n "}]}
        #1_返回
            #1_设临时1为0
            execute as @a[scores={雪球菜单=10001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转1001（跳转主页）
            execute as @a[scores={雪球菜单=10001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 1001
            #3_重置确认
            execute as @a[scores={雪球菜单=1001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=1001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
        #2_传送至审核区
            #1_不在dm3传送回审核区
            execute as @a[scores={雪球菜单=10002,雪球菜单_确认=0,dm=!3}] in dm3 run tp 0 0 0 0 0
            #2_传送回审核区
            execute as @a[scores={雪球菜单=10002,雪球菜单_确认=0}] in dm3 run tp 0 0 0 0 0、
            #3_重置确认
            execute as @a[scores={雪球菜单=10002,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
    #18xxx_查看更新日志
        #0_显示
            #1_显示部分
            execute as @a[scores={雪球菜单=18004..18999}] run scoreboard players set @s 雪球菜单 18001
        #1_返回
            #1_设临时1为0
            execute as @a[scores={雪球菜单=18001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单_临时1 0
            #2_跳转1001
            execute as @a[scores={雪球菜单=18001,雪球菜单_确认=0}] run scoreboard players set @s 雪球菜单 1001
            #3_重置确认
            execute as @a[scores={雪球菜单=1001,雪球菜单_确认=0,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_确认
            #4_重置临时1
            execute as @a[scores={雪球菜单=1001,雪球菜单_临时1=0}] run scoreboard players reset @s 雪球菜单_临时1
        #2_上一章
            #1_如果自己在第1章，显示没有更多了提示
            execute as @a[scores={雪球菜单=18002,雪球菜单_确认=0}] if score @s 雪球菜单_临时1 matches ..1 run tellraw @s {"rawtext":[{"text":"| 已经是第一章了/(ㄒoㄒ)/~~"}]}
            #2_除非自己在第1章，把自己的 雪球菜单_临时1 减少1
            execute as @a[scores={雪球菜单=18002,雪球菜单_确认=0}] unless score @s 雪球菜单_临时1 matches ..1 run scoreboard players remove @s 雪球菜单_临时1 1
            #3_重置确认
            execute as @a[scores={雪球菜单=18002,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
        #3_下一章
            #1_如果自己在最后一章，聊天栏显示末章提示
            execute as @a[scores={雪球菜单=18003,雪球菜单_确认=0}] if score @s 雪球菜单_临时1 = 基准数 雪球菜单_更新日志 run tellraw @s {"rawtext":[{"text":"| 已经是最后一章了o(TヘTo)"}]}
            #2_除非自己在最后一章，把自己的 雪球菜单_临时1 增加1
            execute as @a[scores={雪球菜单=18003,雪球菜单_确认=0}] unless score @s 雪球菜单_临时1 = 基准数 雪球菜单_更新日志 run scoreboard players add @s 雪球菜单_临时1 1
            #3_重置确认
            execute as @a[scores={雪球菜单=18003,雪球菜单_确认=0}] run scoreboard players reset @s 雪球菜单_确认
        #4_日志库
            #1_连锁 无条件 保持开启_第1章
            execute as @a[scores={"雪球菜单"=18000..18999,"雪球菜单_临时1"=1}] run titleraw @s actionbar {"rawtext": [{"text": "§6查看更新日志▶第"},{"score": {"objective": "雪球菜单_临时1","name": "@s"}},{"text": "章（共"},{"score": {"objective": "雪球菜单_更新日志","name": "基准数"}},{"text": "章）"},{"text": "\n§7┌一一一一一一一一一一一一一一一一一一一一┐"},{"translate": "\n %%2 【◀离开】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=18001}]"},{"text": "§e-"},{"text": "§r "}]}},{"translate": "    §7|§r  %%2 【◀上一章】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=18002}]"},{"text": "§e-"},{"text": "§r "}]}},{"translate": "    %%2 【下一章▶】","with": {"rawtext": [{"selector": "@s[scores={雪球菜单=18003}]"},{"text": "§e-"},{"text": "§r "}]}},{"text": "\n  §rv20250712.1"},{"text": "\n  §l§f添加查看更新日志功能§r"},{"text": "\n  §7增加了你现在看到的这个页面(❁´◡`❁)"},{"text": "\n  §7"},{"text": "\n  §7"},{"text": "\n  §7贡献：<"},{"selector": "@e[scores={雪球菜单_更新日志_参与者列表=1}]"},{"text": ">"},{"text": "\n§7└一一一一一一一一一一一一一一一一一一一一┘\n\n\n\n\n\n"}]}
    
